home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Games #12
/
GEGA012.iso
/
Jogos de Azar
/
fruit.swf
/
scripts
/
C_ReelsSimbolsCLASS.as
< prev
next >
Wrap
Text File
|
2006-01-17
|
867b
|
39 lines
_global.C_ReelsSimbolsCLASS = function()
{
this._parent.registerSimbols(this);
};
C_ReelsSimbolsCLASS.prototype = new MovieClip();
C_ReelsSimbolsCLASS.prototype.setPos = function(p)
{
p += this.line;
if(p > this._totalframes)
{
p -= this._totalframes;
}
if(p < 1)
{
p = this._totalframes + p;
}
this.gotoAndStop(p);
};
C_ReelsSimbolsCLASS.prototype.nextPos = function()
{
var p = this._currentframe + 1;
if(p > this._totalframes)
{
p -= this._totalframes;
}
this.gotoAndStop(p);
};
C_ReelsSimbolsCLASS.prototype.prevPos = function()
{
var p = this._currentframe - 1;
if(p < 1)
{
p = this._totalframes + p;
}
this.gotoAndStop(p);
};
Object.registerClass("C_ReelsSimbolsCLASS",C_ReelsSimbolsCLASS);
ASSetPropFlags(_global,"C_ReelsSimbolsCLASS",131);